@import "./variable.scss";

// 修改el-tabs的样式
.el-tabs {
  height: 100%;
}

.el-tabs__header {
  margin: 0 !important;
}

.el-tab-pane {
  height: 100%;
}

.el-select {
  width: 100%;
}

.el-empty {
  height: 100%;
}

.el-input-group__append,
.el-input-group__prepend {
  background: #fff !important;
}

.el-dropdown-link {
  cursor: pointer;
}

.el-icon-arrow-down {
  font-size: 12px;
}

.el-dialog {
  box-shadow: 0px 1px 12px 0px rgba(0, 0, 0, 0.25);
}

.el-dialog__headerbtn {
  width: 12px;
  height: 12px;
  background: url("../assets/dialog/close.png") no-repeat;
  background-size: 100% 100%;
  top: 10px;

  &:hover {
    background: url("../assets/dialog/close_active.png") no-repeat;
  }
}

.el-dialog__headerbtn i {
  content: "";
  font-size: 12px;
  visibility: hidden;
}

.el-dialog__body {
  background: #fff !important;
  color: #000000;
  font-size: 14px;
  word-break: break-all;
  padding: 20px 20px 0px 20px;
  font-weight: bold;
}

.el-dialog__header {
  background: $--color-primary;
  height: 30px;
  line-height: 30px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  padding: 0 10px;
  color: #fff;
}

.el-dialog__footer {
  background: #fff !important;
  padding: 10px 20px;
}

.el-tree {
  background: none !important;
}

.el-popper {
  border: 1px solid $--color-primary !important;
  border-radius: 0;
  padding: 0;
}

.el-popper[x-placement^="bottom"] .popper__arrow::after {
  top: 0 !important;
  margin-left: -6px;
  border-top-width: 0;
  border-bottom-color: $--color-primary !important;
}

.el-message-box {
  border: 2px solid $--color-primary !important;
}

.el-tabs--border-card {
  box-sizing: border-box !important;
}

.el-tabs--border-card > .el-tabs__content {
  padding: 0 !important;
  border: 1px solid $--color-primary !important;
  box-sizing: border-box;
  margin-top: -1px !important;
  height: calc(100% - 28px);
}

.el-tabs--border-card > .el-tabs__header {
  background-color: #d7dade !important;
}

.el-tabs--border-card > .el-tabs__header .el-tabs__item.is-active {
  font-weight: 600;
  border-left: 1px solid $--color-primary !important;
  border-top: 1px solid $--color-primary !important;
  border-right: 1px solid $--color-primary !important;
  border-bottom: 1px solid #fff !important;
  box-sizing: border-box;
}

.el-tabs--border-card > .el-tabs__header .el-tabs__item:first-child {
  margin-left: 0 !important;
}

.el-tabs--border-card > .el-tabs__header .el-tabs__item {
  margin-top: 0 !important;
}

.el-drawer {
  background: $--color-primary !important;
}

.el-drawer__header {
  color: #ffffff;
  // font-size: 22px;
}

.el-input-number {
  width: 100%;
}

.el-dropdown-menu {
  z-index: 9999 !important;
  /* 设置您想要的 z-index 值 */
}

.expand .el-table__expand-column .cell {
  display: none;
}

.el-table__body tr.current-row > td {
  background-color: #cce9ff !important;
}

.el-form-item__label {
  font-weight: 500;
}
.el-select-dropdown {
  z-index: 3000 !important;
}
